package com.zy.studentSide.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.studentSide.entity.StudentClassroom;

import java.util.List;

/**
 * @author 29787
 */
public interface IStudentClassroomService extends IService<StudentClassroom> {

    /**
     * 根据学生id查询已加入的班级信息
     * @param studentId
     * @return List<StudentClassroom>
     */
    List<StudentClassroom> getJoinClassroomByStudentId(Integer studentId);

    /**
     * 根据学生id,老师id，班级id查询班级信息
     * @param studentId
     * @param teacherId
     * @param classroomId
     * @return StudentClassroom
     */
   StudentClassroom getClassroomByStudentIdAndTeacherIdAndClassroomId(Integer studentId,Integer teacherId,Integer classroomId);
}
